﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DormMS.Model;
using DormMS.Model.SearchModels;
using DormMS.Model.ViewModels;

namespace DormMS.IService
{
    public interface IStudentBedService
    {
        List<V_StudentBed> GetStudentBedByRoomId(int RoomID);

        List<V_StudentBed> GetStudentBedBySearch(StudentBedSearchModel search, ref int total);

        StudentBed GetStudentBedByBedIdAndStudentId(int BedId, int StudentId);

        int StudentBedAdd(StudentBed model);
        int StudentBedEdit(StudentBed model, int? bedId);
        int StudentBedDel(StudentBed model);

        StudentBed GetStudentBedById(int ID);
    }
}
